package com.example.homework.db.responses

import com.example.homework.db.models.Episode
import com.example.homework.db.models.Info
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class EpisodesResponse(
    @Json(name = "info") val info: Info,
    @Json(name = "results") val result: List<Episode>

)
